package com.hankol.newretail.adapter

import com.baselibrary.extension.checkValue
import com.baselibrary.utils.GlideUtils
import com.baselibrary.view.RoundCornerImageView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.hankol.newretail.R
import com.hankol.newretail.bean.GoodListBean
import com.hankol.newretail.bean.MallOrderSkuDtoBean

/*多个商品 封面*/
class MultiGoodsCoverAdapter : BaseQuickAdapter<MallOrderSkuDtoBean, BaseViewHolder>(R.layout.item_sub_confrim_good) {

    override fun convert(helper: BaseViewHolder, item: MallOrderSkuDtoBean) {
        GlideUtils.loadImg_101(mContext, item.skuCover.checkValue(), helper.getView<RoundCornerImageView>(R.id.img_cover))
    }
}